package cn.basic.social.api.qwtalk.client;

import cn.basic.social.api.exception.ApiException;
import cn.basic.social.api.qwtalk.QwRequest;
import cn.basic.social.api.qwtalk.QwResponse;

/**
 * @ClassName BaseQwClient
 * @Description 企业微信基础调用接口定义
 * @Author zlf
 * @Date 2023/8/25 10:31
 */
public interface BaseQwClient {

    /**
     * 执行API请求
     *
     * @param <T>     具体的API响应类
     * @param request 具体的API请求类
     * @return
     * @author zlf
     * @date 10:33 2023/8/25
     */
    public <T extends QwResponse> T doExecute(QwRequest<T> request) throws ApiException;


}
